#include "DXUT.h"

#ifndef ITHREAD_H
#define ITHREAD_H

class IThread {
protected:
	bool				m_Terminate;
public:
	HANDLE				m_Thread_Handle;

	void Terminate() {
		m_Terminate		= true;
		WaitForSingleObject(m_Thread_Handle, 5000);
	}

	virtual void setStatus( int status ) = 0;
	virtual void setValue( void * userData ) = 0;
};


#endif